package dataThread;

import service.Main;

import java.util.concurrent.ExecutorService;

import static java.util.concurrent.Executors.*;

public class MainTest {

    public static void main(String[] args) {
        ExecutorService ex = newFixedThreadPool(10);

        for (int i = 0; i < 1000 ; i++) {
            ex.execute(new DateThread());
        }
    }
}
